package yl.hs.bmipfull.pojo.material;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  原材分类信息实体类<br/>
 * 创建时间: 2021年05月17日 08时49分39秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "原材分类信息", mapCode = "raw_material_cate")
public class RawMaterialCateEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "原材分类信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "RCAT")
    private String sn;
    /**
     * 分类名称
     */
    @DBField(disName ="分类名称")
    private String cateName;
    /**
     * 分类名称拼音
     */
    private String cateNamePY;
    /**
     * 组织代码
     */
    private String organizationCode;

    public String getUseProducts() {
        return useProducts;
    }

    public void setUseProducts(String useProducts) {
        this.useProducts = useProducts;
    }

    private String useProducts;
    private short state;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getCateName() {
        return this.cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getCateNamePY() {
        return this.cateNamePY;
    }

    public void setCateNamePY(String cateNamePY) {
        this.cateNamePY = cateNamePY;
    }

    public String getOrganizationCode() {
        return this.organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }



}